<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: sw::WndBase类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classsw_1_1_wnd_base.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="classsw_1_1_wnd_base-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">sw::WndBase类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p>表示一个Windows窗口，是所有窗口和控件的基类  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_wnd_base_8h_source.html">WndBase.h</a>&gt;</code></p>
<div class="dynheader">
类 sw::WndBase 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsw_1_1_wnd_base.png" usemap="#sw::WndBase_map" alt=""/>
  <map id="sw::WndBase_map" name="sw::WndBase_map">
<area href="classsw_1_1_timer.html" title="计时器" alt="sw::Timer" shape="rect" coords="0,56,161,80"/>
<area href="classsw_1_1_tool_tip.html" title="信息提示，用于用户将指针移过关联控件时显示信息" alt="sw::ToolTip" shape="rect" coords="171,56,332,80"/>
<area href="classsw_1_1_u_i_element.html" title="表示界面中的元素" alt="sw::UIElement" shape="rect" coords="513,56,674,80"/>
<area href="classsw_1_1_ballon_tool_tip.html" title="气泡样式的信息提示" alt="sw::BallonToolTip" shape="rect" coords="171,112,332,136"/>
<area href="classsw_1_1_control.html" title="控件" alt="sw::Control" shape="rect" coords="342,112,503,136"/>
<area href="classsw_1_1_layer.html" title="表示可以设置布局方式的元素类型，如窗口、面板等" alt="sw::Layer" shape="rect" coords="684,112,845,136"/>
<area href="classsw_1_1_items_control.html" alt="sw::ItemsControl&lt; StrList &gt;" shape="rect" coords="513,168,674,192"/>
<area href="classsw_1_1_animation.html" title="动画控件，仅支持无音频的avi动画" alt="sw::Animation" shape="rect" coords="513,224,674,248"/>
<area href="classsw_1_1_button_base.html" title="窗口类名为BUTTON的控件类型的基类" alt="sw::ButtonBase" shape="rect" coords="513,280,674,304"/>
<area href="classsw_1_1_date_time_picker.html" title="日期和时间选取器" alt="sw::DateTimePicker" shape="rect" coords="513,336,674,360"/>
<area href="classsw_1_1_hot_key_control.html" title="热键框" alt="sw::HotKeyControl" shape="rect" coords="513,392,674,416"/>
<area href="classsw_1_1_items_control.html" title="表示可用于呈现一组项的控件" alt="sw::ItemsControl&lt; TItem &gt;" shape="rect" coords="513,448,674,472"/>
<area href="classsw_1_1_month_calendar.html" title="月历控件" alt="sw::MonthCalendar" shape="rect" coords="513,504,674,528"/>
<area href="classsw_1_1_panel_base.html" title="面板类型的基类" alt="sw::PanelBase" shape="rect" coords="513,560,674,584"/>
<area href="classsw_1_1_progress_bar.html" title="进度条控件" alt="sw::ProgressBar" shape="rect" coords="513,616,674,640"/>
<area href="classsw_1_1_slider.html" title="滑块控件" alt="sw::Slider" shape="rect" coords="513,672,674,696"/>
<area href="classsw_1_1_static_control.html" title="静态控件" alt="sw::StaticControl" shape="rect" coords="513,728,674,752"/>
<area href="classsw_1_1_status_bar.html" title="状态栏" alt="sw::StatusBar" shape="rect" coords="513,784,674,808"/>
<area href="classsw_1_1_sys_link.html" title="包含链接的文本区域" alt="sw::SysLink" shape="rect" coords="513,840,674,864"/>
<area href="classsw_1_1_tab_control.html" title="标签页控件" alt="sw::TabControl" shape="rect" coords="513,896,674,920"/>
<area href="classsw_1_1_text_box_base.html" title="窗口类名为EDIT的控件类型的基类" alt="sw::TextBoxBase" shape="rect" coords="513,952,674,976"/>
<area href="classsw_1_1_panel_base.html" title="面板类型的基类" alt="sw::PanelBase" shape="rect" coords="855,168,1016,192"/>
<area href="classsw_1_1_window.html" title="窗口" alt="sw::Window" shape="rect" coords="855,224,1016,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6c99714fa3f313e7535936585f63b9cb" id="r_a6c99714fa3f313e7535936585f63b9cb"><td class="memItemLeft" align="right" valign="top"><a id="a6c99714fa3f313e7535936585f63b9cb" name="a6c99714fa3f313e7535936585f63b9cb"></a>
<a class="el" href="classsw_1_1_dictionary.html">virtual</a>&#160;</td><td class="memItemRight" valign="bottom"><b>~WndBase</b> ()=0</td></tr>
<tr class="memdesc:a6c99714fa3f313e7535936585f63b9cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数，这里用纯虚函数使该类成为抽象类 <br /></td></tr>
<tr class="separator:a6c99714fa3f313e7535936585f63b9cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2f1b78dd8165c8bca0313180a9f4b81" id="r_ae2f1b78dd8165c8bca0313180a9f4b81"><td class="memItemLeft" align="right" valign="top"><a id="ae2f1b78dd8165c8bca0313180a9f4b81" name="ae2f1b78dd8165c8bca0313180a9f4b81"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Show</b> (<a class="el" href="classsw_1_1_dictionary.html">int</a> <a class="el" href="classsw_1_1_dictionary.html">nCmdShow</a>)</td></tr>
<tr class="memdesc:ae2f1b78dd8165c8bca0313180a9f4b81"><td class="mdescLeft">&#160;</td><td class="mdescRight">该函数调用ShowWindow <br /></td></tr>
<tr class="separator:ae2f1b78dd8165c8bca0313180a9f4b81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a436818f8ad91446f86b42081dd1a7358" id="r_a436818f8ad91446f86b42081dd1a7358"><td class="memItemLeft" align="right" valign="top"><a id="a436818f8ad91446f86b42081dd1a7358" name="a436818f8ad91446f86b42081dd1a7358"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Close</b> ()</td></tr>
<tr class="memdesc:a436818f8ad91446f86b42081dd1a7358"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送关闭消息 <br /></td></tr>
<tr class="separator:a436818f8ad91446f86b42081dd1a7358"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7ac81f0ed48a5093fd3170c7c756963" id="r_ab7ac81f0ed48a5093fd3170c7c756963"><td class="memItemLeft" align="right" valign="top"><a id="ab7ac81f0ed48a5093fd3170c7c756963" name="ab7ac81f0ed48a5093fd3170c7c756963"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Update</b> ()</td></tr>
<tr class="memdesc:ab7ac81f0ed48a5093fd3170c7c756963"><td class="mdescLeft">&#160;</td><td class="mdescRight">该函数调用UpdateWindow <br /></td></tr>
<tr class="separator:ab7ac81f0ed48a5093fd3170c7c756963"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8df0384e2be0569e0da1f51985204c8" id="r_af8df0384e2be0569e0da1f51985204c8"><td class="memItemLeft" align="right" valign="top"><a id="af8df0384e2be0569e0da1f51985204c8" name="af8df0384e2be0569e0da1f51985204c8"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>UpdateFont</b> ()</td></tr>
<tr class="memdesc:af8df0384e2be0569e0da1f51985204c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新字体 <br /></td></tr>
<tr class="separator:af8df0384e2be0569e0da1f51985204c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2eec178adddff9e44d83238f19d57b1b" id="r_a2eec178adddff9e44d83238f19d57b1b"><td class="memItemLeft" align="right" valign="top"><a id="a2eec178adddff9e44d83238f19d57b1b" name="a2eec178adddff9e44d83238f19d57b1b"></a>
<a class="el" href="classsw_1_1_dictionary.html">HFONT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetFontHandle</b> ()</td></tr>
<tr class="memdesc:a2eec178adddff9e44d83238f19d57b1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取字体句柄 <br /></td></tr>
<tr class="separator:a2eec178adddff9e44d83238f19d57b1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c0d183115a35f097b0598af43c9ca9a" id="r_a1c0d183115a35f097b0598af43c9ca9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1c0d183115a35f097b0598af43c9ca9a">Redraw</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">erase</a>=<a class="el" href="classsw_1_1_dictionary.html">false</a>)</td></tr>
<tr class="memdesc:a1c0d183115a35f097b0598af43c9ca9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">重画  <br /></td></tr>
<tr class="separator:a1c0d183115a35f097b0598af43c9ca9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace8f6b05caa5d335f7d574c38035bfa7" id="r_ace8f6b05caa5d335f7d574c38035bfa7"><td class="memItemLeft" align="right" valign="top"><a id="ace8f6b05caa5d335f7d574c38035bfa7" name="ace8f6b05caa5d335f7d574c38035bfa7"></a>
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>IsControl</b> ()</td></tr>
<tr class="memdesc:ace8f6b05caa5d335f7d574c38035bfa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前对象是否是控件 <br /></td></tr>
<tr class="separator:ace8f6b05caa5d335f7d574c38035bfa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ee668e7a5261f96df0bd69a1fb868d3" id="r_a6ee668e7a5261f96df0bd69a1fb868d3"><td class="memItemLeft" align="right" valign="top"><a id="a6ee668e7a5261f96df0bd69a1fb868d3" name="a6ee668e7a5261f96df0bd69a1fb868d3"></a>
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>IsVisible</b> ()</td></tr>
<tr class="memdesc:a6ee668e7a5261f96df0bd69a1fb868d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前对象在界面中是否可视，与Visible属性不同的是该函数返回值会受父窗口的影响 <br /></td></tr>
<tr class="separator:a6ee668e7a5261f96df0bd69a1fb868d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a975bcf1d7c27e7d482aa18f7faaf23d0" id="r_a975bcf1d7c27e7d482aa18f7faaf23d0"><td class="memItemLeft" align="right" valign="top"><a id="a975bcf1d7c27e7d482aa18f7faaf23d0" name="a975bcf1d7c27e7d482aa18f7faaf23d0"></a>
<a class="el" href="classsw_1_1_dictionary.html">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetStyle</b> ()</td></tr>
<tr class="memdesc:a975bcf1d7c27e7d482aa18f7faaf23d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取窗口样式 <br /></td></tr>
<tr class="separator:a975bcf1d7c27e7d482aa18f7faaf23d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6dbe392704320ef2e6896eff55dd4f" id="r_afc6dbe392704320ef2e6896eff55dd4f"><td class="memItemLeft" align="right" valign="top"><a id="afc6dbe392704320ef2e6896eff55dd4f" name="afc6dbe392704320ef2e6896eff55dd4f"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SetStyle</b> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">style</a>)</td></tr>
<tr class="memdesc:afc6dbe392704320ef2e6896eff55dd4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置窗口样式 <br /></td></tr>
<tr class="separator:afc6dbe392704320ef2e6896eff55dd4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae545de230ba94e3263f3197e98308079" id="r_ae545de230ba94e3263f3197e98308079"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae545de230ba94e3263f3197e98308079">GetStyle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">mask</a>)</td></tr>
<tr class="memdesc:ae545de230ba94e3263f3197e98308079"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断窗口是否设有指定样式  <br /></td></tr>
<tr class="separator:ae545de230ba94e3263f3197e98308079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a1c2216b75bd9cd45d4a2e042b55c5" id="r_a34a1c2216b75bd9cd45d4a2e042b55c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a34a1c2216b75bd9cd45d4a2e042b55c5">SetStyle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">mask</a>, <a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">value</a>)</td></tr>
<tr class="memdesc:a34a1c2216b75bd9cd45d4a2e042b55c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">打开或关闭指定的样式  <br /></td></tr>
<tr class="separator:a34a1c2216b75bd9cd45d4a2e042b55c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af536e23ad45de7e0d0a48c156671e331" id="r_af536e23ad45de7e0d0a48c156671e331"><td class="memItemLeft" align="right" valign="top"><a id="af536e23ad45de7e0d0a48c156671e331" name="af536e23ad45de7e0d0a48c156671e331"></a>
<a class="el" href="classsw_1_1_dictionary.html">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetExtendedStyle</b> ()</td></tr>
<tr class="memdesc:af536e23ad45de7e0d0a48c156671e331"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取扩展窗口样式 <br /></td></tr>
<tr class="separator:af536e23ad45de7e0d0a48c156671e331"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a074171e62cdb3e20f53b9262164852ca" id="r_a074171e62cdb3e20f53b9262164852ca"><td class="memItemLeft" align="right" valign="top"><a id="a074171e62cdb3e20f53b9262164852ca" name="a074171e62cdb3e20f53b9262164852ca"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SetExtendedStyle</b> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">style</a>)</td></tr>
<tr class="memdesc:a074171e62cdb3e20f53b9262164852ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置扩展窗口样式 <br /></td></tr>
<tr class="separator:a074171e62cdb3e20f53b9262164852ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d3e7d32b7cdcfd3489c0d890a2910ab" id="r_a2d3e7d32b7cdcfd3489c0d890a2910ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2d3e7d32b7cdcfd3489c0d890a2910ab">GetExtendedStyle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">mask</a>)</td></tr>
<tr class="memdesc:a2d3e7d32b7cdcfd3489c0d890a2910ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断窗口是否设有指定扩展样式  <br /></td></tr>
<tr class="separator:a2d3e7d32b7cdcfd3489c0d890a2910ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05caaf7da3138fe9063f7a3e1088f9ac" id="r_a05caaf7da3138fe9063f7a3e1088f9ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a05caaf7da3138fe9063f7a3e1088f9ac">SetExtendedStyle</a> (<a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">mask</a>, <a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">value</a>)</td></tr>
<tr class="memdesc:a05caaf7da3138fe9063f7a3e1088f9ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">打开或关闭指定的扩展样式  <br /></td></tr>
<tr class="separator:a05caaf7da3138fe9063f7a3e1088f9ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a292d93c230f5534cdf68ac5d685dd487" id="r_a292d93c230f5534cdf68ac5d685dd487"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsw_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a292d93c230f5534cdf68ac5d685dd487">PointToScreen</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">point</a>)</td></tr>
<tr class="memdesc:a292d93c230f5534cdf68ac5d685dd487"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取用户区点在屏幕上点的位置  <br /></td></tr>
<tr class="separator:a292d93c230f5534cdf68ac5d685dd487"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1b33e5930fc14467f65ad89c2c35c3" id="r_a6f1b33e5930fc14467f65ad89c2c35c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsw_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6f1b33e5930fc14467f65ad89c2c35c3">PointFromScreen</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">screenPoint</a>)</td></tr>
<tr class="memdesc:a6f1b33e5930fc14467f65ad89c2c35c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取屏幕上点在当前用户区点的位置  <br /></td></tr>
<tr class="separator:a6f1b33e5930fc14467f65ad89c2c35c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33d23326907c603a24385f81e179e174" id="r_a33d23326907c603a24385f81e179e174"><td class="memItemLeft" align="right" valign="top"><a id="a33d23326907c603a24385f81e179e174" name="a33d23326907c603a24385f81e179e174"></a>
<a class="el" href="classsw_1_1_dictionary.html">LRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SendMessageA</b> (<a class="el" href="classsw_1_1_dictionary.html">UINT</a> uMsg, <a class="el" href="classsw_1_1_dictionary.html">WPARAM</a> wParam, <a class="el" href="classsw_1_1_dictionary.html">LPARAM</a> lParam)</td></tr>
<tr class="memdesc:a33d23326907c603a24385f81e179e174"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送消息（ASCII） <br /></td></tr>
<tr class="separator:a33d23326907c603a24385f81e179e174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad50166a8ade9a7eaf0088f13fd708e2f" id="r_ad50166a8ade9a7eaf0088f13fd708e2f"><td class="memItemLeft" align="right" valign="top"><a id="ad50166a8ade9a7eaf0088f13fd708e2f" name="ad50166a8ade9a7eaf0088f13fd708e2f"></a>
<a class="el" href="classsw_1_1_dictionary.html">LRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SendMessageW</b> (<a class="el" href="classsw_1_1_dictionary.html">UINT</a> uMsg, <a class="el" href="classsw_1_1_dictionary.html">WPARAM</a> wParam, <a class="el" href="classsw_1_1_dictionary.html">LPARAM</a> lParam)</td></tr>
<tr class="memdesc:ad50166a8ade9a7eaf0088f13fd708e2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送消息（UNICODE） <br /></td></tr>
<tr class="separator:ad50166a8ade9a7eaf0088f13fd708e2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87c9d860ba24487f2b61b72987a4bd63" id="r_a87c9d860ba24487f2b61b72987a4bd63"><td class="memItemLeft" align="right" valign="top">HitTestResult&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a87c9d860ba24487f2b61b72987a4bd63">NcHitTest</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">testPoint</a>)</td></tr>
<tr class="memdesc:a87c9d860ba24487f2b61b72987a4bd63"><td class="mdescLeft">&#160;</td><td class="mdescRight">测试指定点在窗口的哪一部分  <br /></td></tr>
<tr class="separator:a87c9d860ba24487f2b61b72987a4bd63"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a9a3b21d4e5d8c49130deb57695294add" id="r_a9a3b21d4e5d8c49130deb57695294add"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">static</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9a3b21d4e5d8c49130deb57695294add">GetWndBase</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> hwnd)</td></tr>
<tr class="memdesc:a9a3b21d4e5d8c49130deb57695294add"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过窗口句柄获取WndBase  <br /></td></tr>
<tr class="separator:a9a3b21d4e5d8c49130deb57695294add"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:abc0b653ccc071c2cfcba42fa8eef738f" id="r_abc0b653ccc071c2cfcba42fa8eef738f"><td class="memItemLeft" align="right" valign="top"><a id="abc0b653ccc071c2cfcba42fa8eef738f" name="abc0b653ccc071c2cfcba42fa8eef738f"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">HWND</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Handle</b></td></tr>
<tr class="memdesc:abc0b653ccc071c2cfcba42fa8eef738f"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口句柄 <br /></td></tr>
<tr class="separator:abc0b653ccc071c2cfcba42fa8eef738f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a529436cd730fc39ad2875728cdfe4a51" id="r_a529436cd730fc39ad2875728cdfe4a51"><td class="memItemLeft" align="right" valign="top"><a id="a529436cd730fc39ad2875728cdfe4a51" name="a529436cd730fc39ad2875728cdfe4a51"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_font.html">sw::Font</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Font</b></td></tr>
<tr class="memdesc:a529436cd730fc39ad2875728cdfe4a51"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体 <br /></td></tr>
<tr class="separator:a529436cd730fc39ad2875728cdfe4a51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72a604f374bba1e6c34b5d5e56cd26f0" id="r_a72a604f374bba1e6c34b5d5e56cd26f0"><td class="memItemLeft" align="right" valign="top"><a id="a72a604f374bba1e6c34b5d5e56cd26f0" name="a72a604f374bba1e6c34b5d5e56cd26f0"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; std::wstring &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FontName</b></td></tr>
<tr class="memdesc:a72a604f374bba1e6c34b5d5e56cd26f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体名称 <br /></td></tr>
<tr class="separator:a72a604f374bba1e6c34b5d5e56cd26f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac49c6452ceb4950dd581189615753b0c" id="r_ac49c6452ceb4950dd581189615753b0c"><td class="memItemLeft" align="right" valign="top"><a id="ac49c6452ceb4950dd581189615753b0c" name="ac49c6452ceb4950dd581189615753b0c"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FontSize</b></td></tr>
<tr class="memdesc:ac49c6452ceb4950dd581189615753b0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体大小 <br /></td></tr>
<tr class="separator:ac49c6452ceb4950dd581189615753b0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50e006e69f07abb4e6ba381121abcd22" id="r_a50e006e69f07abb4e6ba381121abcd22"><td class="memItemLeft" align="right" valign="top"><a id="a50e006e69f07abb4e6ba381121abcd22" name="a50e006e69f07abb4e6ba381121abcd22"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; sw::FontWeight &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FontWeight</b></td></tr>
<tr class="memdesc:a50e006e69f07abb4e6ba381121abcd22"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体粗细 <br /></td></tr>
<tr class="separator:a50e006e69f07abb4e6ba381121abcd22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7598603457217f09aae0deaad59ef063" id="r_a7598603457217f09aae0deaad59ef063"><td class="memItemLeft" align="right" valign="top"><a id="a7598603457217f09aae0deaad59ef063" name="a7598603457217f09aae0deaad59ef063"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="structsw_1_1_rect.html">sw::Rect</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Rect</b></td></tr>
<tr class="memdesc:a7598603457217f09aae0deaad59ef063"><td class="mdescLeft">&#160;</td><td class="mdescRight">位置和尺寸 <br /></td></tr>
<tr class="separator:a7598603457217f09aae0deaad59ef063"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f0b57de9babc053c655872ed91468dd" id="r_a4f0b57de9babc053c655872ed91468dd"><td class="memItemLeft" align="right" valign="top"><a id="a4f0b57de9babc053c655872ed91468dd" name="a4f0b57de9babc053c655872ed91468dd"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Left</b></td></tr>
<tr class="memdesc:a4f0b57de9babc053c655872ed91468dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">左边 <br /></td></tr>
<tr class="separator:a4f0b57de9babc053c655872ed91468dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dbe3776aeb038659f0a290fbe1dc6d7" id="r_a6dbe3776aeb038659f0a290fbe1dc6d7"><td class="memItemLeft" align="right" valign="top"><a id="a6dbe3776aeb038659f0a290fbe1dc6d7" name="a6dbe3776aeb038659f0a290fbe1dc6d7"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Top</b></td></tr>
<tr class="memdesc:a6dbe3776aeb038659f0a290fbe1dc6d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">顶边 <br /></td></tr>
<tr class="separator:a6dbe3776aeb038659f0a290fbe1dc6d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a445edbe5db50a5a4486ddff98e8ffbae" id="r_a445edbe5db50a5a4486ddff98e8ffbae"><td class="memItemLeft" align="right" valign="top"><a id="a445edbe5db50a5a4486ddff98e8ffbae" name="a445edbe5db50a5a4486ddff98e8ffbae"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Width</b></td></tr>
<tr class="memdesc:a445edbe5db50a5a4486ddff98e8ffbae"><td class="mdescLeft">&#160;</td><td class="mdescRight">宽度 <br /></td></tr>
<tr class="separator:a445edbe5db50a5a4486ddff98e8ffbae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51fdc4b943e62bd67ffbff4a6e65de2a" id="r_a51fdc4b943e62bd67ffbff4a6e65de2a"><td class="memItemLeft" align="right" valign="top"><a id="a51fdc4b943e62bd67ffbff4a6e65de2a" name="a51fdc4b943e62bd67ffbff4a6e65de2a"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Height</b></td></tr>
<tr class="memdesc:a51fdc4b943e62bd67ffbff4a6e65de2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">高度 <br /></td></tr>
<tr class="separator:a51fdc4b943e62bd67ffbff4a6e65de2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0126115c0626d137ba3e7b0a5c8d793b" id="r_a0126115c0626d137ba3e7b0a5c8d793b"><td class="memItemLeft" align="right" valign="top"><a id="a0126115c0626d137ba3e7b0a5c8d793b" name="a0126115c0626d137ba3e7b0a5c8d793b"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="structsw_1_1_rect.html">sw::Rect</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ClientRect</b></td></tr>
<tr class="memdesc:a0126115c0626d137ba3e7b0a5c8d793b"><td class="mdescLeft">&#160;</td><td class="mdescRight">用户区尺寸 <br /></td></tr>
<tr class="separator:a0126115c0626d137ba3e7b0a5c8d793b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97898f967c916e67c152c69f4c7c6cd6" id="r_a97898f967c916e67c152c69f4c7c6cd6"><td class="memItemLeft" align="right" valign="top"><a id="a97898f967c916e67c152c69f4c7c6cd6" name="a97898f967c916e67c152c69f4c7c6cd6"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ClientWidth</b></td></tr>
<tr class="memdesc:a97898f967c916e67c152c69f4c7c6cd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">用户区宽度 <br /></td></tr>
<tr class="separator:a97898f967c916e67c152c69f4c7c6cd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4030b80afd9e81e3046ccd5ec94ec83f" id="r_a4030b80afd9e81e3046ccd5ec94ec83f"><td class="memItemLeft" align="right" valign="top"><a id="a4030b80afd9e81e3046ccd5ec94ec83f" name="a4030b80afd9e81e3046ccd5ec94ec83f"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">double</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ClientHeight</b></td></tr>
<tr class="memdesc:a4030b80afd9e81e3046ccd5ec94ec83f"><td class="mdescLeft">&#160;</td><td class="mdescRight">用户区高度 <br /></td></tr>
<tr class="separator:a4030b80afd9e81e3046ccd5ec94ec83f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5e7d8d1a548315b3e709151f71766b3" id="r_ad5e7d8d1a548315b3e709151f71766b3"><td class="memItemLeft" align="right" valign="top"><a id="ad5e7d8d1a548315b3e709151f71766b3" name="ad5e7d8d1a548315b3e709151f71766b3"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Enabled</b></td></tr>
<tr class="memdesc:ad5e7d8d1a548315b3e709151f71766b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口或控件是否可用 <br /></td></tr>
<tr class="separator:ad5e7d8d1a548315b3e709151f71766b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a808f5d6fd407e3b65cff88f1873bd754" id="r_a808f5d6fd407e3b65cff88f1873bd754"><td class="memItemLeft" align="right" valign="top"><a id="a808f5d6fd407e3b65cff88f1873bd754" name="a808f5d6fd407e3b65cff88f1873bd754"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Visible</b></td></tr>
<tr class="memdesc:a808f5d6fd407e3b65cff88f1873bd754"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口或控件是否可见 <br /></td></tr>
<tr class="separator:a808f5d6fd407e3b65cff88f1873bd754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9afff86d32e9b54cccc204ef29a85891" id="r_a9afff86d32e9b54cccc204ef29a85891"><td class="memItemLeft" align="right" valign="top"><a id="a9afff86d32e9b54cccc204ef29a85891" name="a9afff86d32e9b54cccc204ef29a85891"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; std::wstring &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Text</b></td></tr>
<tr class="memdesc:a9afff86d32e9b54cccc204ef29a85891"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口标题或控件文本 <br /></td></tr>
<tr class="separator:a9afff86d32e9b54cccc204ef29a85891"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71498b3ad8ae548fd7f4a531a6b70982" id="r_a71498b3ad8ae548fd7f4a531a6b70982"><td class="memItemLeft" align="right" valign="top"><a id="a71498b3ad8ae548fd7f4a531a6b70982" name="a71498b3ad8ae548fd7f4a531a6b70982"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Focused</b></td></tr>
<tr class="memdesc:a71498b3ad8ae548fd7f4a531a6b70982"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口是否拥有焦点 <br /></td></tr>
<tr class="separator:a71498b3ad8ae548fd7f4a531a6b70982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bda583e7535a89b8b5bd327c1f32ccd" id="r_a7bda583e7535a89b8b5bd327c1f32ccd"><td class="memItemLeft" align="right" valign="top"><a id="a7bda583e7535a89b8b5bd327c1f32ccd" name="a7bda583e7535a89b8b5bd327c1f32ccd"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Parent</b></td></tr>
<tr class="memdesc:a7bda583e7535a89b8b5bd327c1f32ccd"><td class="mdescLeft">&#160;</td><td class="mdescRight">父窗口 <br /></td></tr>
<tr class="separator:a7bda583e7535a89b8b5bd327c1f32ccd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54aa973b24b4bc4b681ac2c21a50d204" id="r_a54aa973b24b4bc4b681ac2c21a50d204"><td class="memItemLeft" align="right" valign="top"><a id="a54aa973b24b4bc4b681ac2c21a50d204" name="a54aa973b24b4bc4b681ac2c21a50d204"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_read_only_property.html">ReadOnlyProperty</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>IsDestroyed</b></td></tr>
<tr class="memdesc:a54aa973b24b4bc4b681ac2c21a50d204"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否已销毁，当该值为true时不应该继续使用当前对象 <br /></td></tr>
<tr class="separator:a54aa973b24b4bc4b681ac2c21a50d204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b324f78290554d0c08bf6f33cdb5fd" id="r_a43b324f78290554d0c08bf6f33cdb5fd"><td class="memItemLeft" align="right" valign="top"><a id="a43b324f78290554d0c08bf6f33cdb5fd" name="a43b324f78290554d0c08bf6f33cdb5fd"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a>&lt; <a class="el" href="classsw_1_1_dictionary.html">bool</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>AcceptFiles</b></td></tr>
<tr class="memdesc:a43b324f78290554d0c08bf6f33cdb5fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否接受拖放文件 <br /></td></tr>
<tr class="separator:a43b324f78290554d0c08bf6f33cdb5fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:aab509b68c9c0b612862cf41d8ef685a3" id="r_aab509b68c9c0b612862cf41d8ef685a3"><td class="memItemLeft" align="right" valign="top"><a id="aab509b68c9c0b612862cf41d8ef685a3" name="aab509b68c9c0b612862cf41d8ef685a3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>WndBase</b> ()</td></tr>
<tr class="memdesc:aab509b68c9c0b612862cf41d8ef685a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化WndBase <br /></td></tr>
<tr class="separator:aab509b68c9c0b612862cf41d8ef685a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39726d256f8a2ba0d3d0f8bc79c1ab96" id="r_a39726d256f8a2ba0d3d0f8bc79c1ab96"><td class="memItemLeft" align="right" valign="top"><a id="a39726d256f8a2ba0d3d0f8bc79c1ab96" name="a39726d256f8a2ba0d3d0f8bc79c1ab96"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>WndBase</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;)=<a class="el" href="classsw_1_1_dictionary.html">delete</a></td></tr>
<tr class="separator:a39726d256f8a2ba0d3d0f8bc79c1ab96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98bfb3adbc06758e172fe3698151446e" id="r_a98bfb3adbc06758e172fe3698151446e"><td class="memItemLeft" align="right" valign="top"><a id="a98bfb3adbc06758e172fe3698151446e" name="a98bfb3adbc06758e172fe3698151446e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>WndBase</b> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&amp;)=<a class="el" href="classsw_1_1_dictionary.html">delete</a></td></tr>
<tr class="separator:a98bfb3adbc06758e172fe3698151446e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69ec401ebcb3c062630d8cb4521cb2dc" id="r_a69ec401ebcb3c062630d8cb4521cb2dc"><td class="memItemLeft" align="right" valign="top"><a id="a69ec401ebcb3c062630d8cb4521cb2dc" name="a69ec401ebcb3c062630d8cb4521cb2dc"></a>
<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;)=<a class="el" href="classsw_1_1_dictionary.html">delete</a></td></tr>
<tr class="separator:a69ec401ebcb3c062630d8cb4521cb2dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbd4824ac4898f164a0df2f53986aa86" id="r_abbd4824ac4898f164a0df2f53986aa86"><td class="memItemLeft" align="right" valign="top"><a id="abbd4824ac4898f164a0df2f53986aa86" name="abbd4824ac4898f164a0df2f53986aa86"></a>
<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;&amp;)=<a class="el" href="classsw_1_1_dictionary.html">delete</a></td></tr>
<tr class="separator:abbd4824ac4898f164a0df2f53986aa86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4889c45dfad820c103dd7f74f2cd0661" id="r_a4889c45dfad820c103dd7f74f2cd0661"><td class="memItemLeft" align="right" valign="top"><a id="a4889c45dfad820c103dd7f74f2cd0661" name="a4889c45dfad820c103dd7f74f2cd0661"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>InitWindow</b> (<a class="el" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="el" href="classsw_1_1_dictionary.html">lpWindowName</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwStyle</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwExStyle</a>)</td></tr>
<tr class="memdesc:a4889c45dfad820c103dd7f74f2cd0661"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化为窗口，该函数会调用CreateWindowExW <br /></td></tr>
<tr class="separator:a4889c45dfad820c103dd7f74f2cd0661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60707bc74fd7d0599da1ea014cc37b5d" id="r_a60707bc74fd7d0599da1ea014cc37b5d"><td class="memItemLeft" align="right" valign="top"><a id="a60707bc74fd7d0599da1ea014cc37b5d" name="a60707bc74fd7d0599da1ea014cc37b5d"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>InitControl</b> (<a class="el" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="el" href="classsw_1_1_dictionary.html">lpClassName</a>, <a class="el" href="classsw_1_1_dictionary.html">LPCWSTR</a> <a class="el" href="classsw_1_1_dictionary.html">lpWindowName</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwStyle</a>, <a class="el" href="classsw_1_1_dictionary.html">DWORD</a> <a class="el" href="classsw_1_1_dictionary.html">dwExStyle</a>)</td></tr>
<tr class="memdesc:a60707bc74fd7d0599da1ea014cc37b5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化为控件，该函数会调用CreateWindowExW <br /></td></tr>
<tr class="separator:a60707bc74fd7d0599da1ea014cc37b5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a585967d861673ea0477f25c1a5c0fb30" id="r_a585967d861673ea0477f25c1a5c0fb30"><td class="memItemLeft" align="right" valign="top"><a id="a585967d861673ea0477f25c1a5c0fb30" name="a585967d861673ea0477f25c1a5c0fb30"></a>
<a class="el" href="classsw_1_1_dictionary.html">LRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>DefaultWndProc</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_proc_msg.html">ProcMsg</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">refMsg</a>)</td></tr>
<tr class="memdesc:a585967d861673ea0477f25c1a5c0fb30"><td class="mdescLeft">&#160;</td><td class="mdescRight">调用默认的WndProc，对于窗口则调用DefWindowProcW，控件则调用_controlOldWndProc <br /></td></tr>
<tr class="separator:a585967d861673ea0477f25c1a5c0fb30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a863b26226e16cf37f7169c6edc96a3b4" id="r_a863b26226e16cf37f7169c6edc96a3b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">LRESULT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a863b26226e16cf37f7169c6edc96a3b4">WndProc</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_proc_msg.html">ProcMsg</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">refMsg</a>)</td></tr>
<tr class="memdesc:a863b26226e16cf37f7169c6edc96a3b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">对WndProc的封装  <br /></td></tr>
<tr class="separator:a863b26226e16cf37f7169c6edc96a3b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a292bd97b5820a1b4e7a38d65e2b609e8" id="r_a292bd97b5820a1b4e7a38d65e2b609e8"><td class="memItemLeft" align="right" valign="top"><a id="a292bd97b5820a1b4e7a38d65e2b609e8" name="a292bd97b5820a1b4e7a38d65e2b609e8"></a>
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>UpdateText</b> ()</td></tr>
<tr class="memdesc:a292bd97b5820a1b4e7a38d65e2b609e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新_text字段 <br /></td></tr>
<tr class="separator:a292bd97b5820a1b4e7a38d65e2b609e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a888df1f6b89e8da1ba8c7cc8f4671370" id="r_a888df1f6b89e8da1ba8c7cc8f4671370"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> std::wstring &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a888df1f6b89e8da1ba8c7cc8f4671370">GetText</a> ()</td></tr>
<tr class="memdesc:a888df1f6b89e8da1ba8c7cc8f4671370"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取窗口文本  <br /></td></tr>
<tr class="separator:a888df1f6b89e8da1ba8c7cc8f4671370"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba0ab3734c3d4c07f3b9bbb029b98edb" id="r_aba0ab3734c3d4c07f3b9bbb029b98edb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aba0ab3734c3d4c07f3b9bbb029b98edb">SetText</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> std::wstring &amp;<a class="el" href="classsw_1_1_dictionary.html">value</a>)</td></tr>
<tr class="memdesc:aba0ab3734c3d4c07f3b9bbb029b98edb"><td class="mdescLeft">&#160;</td><td class="mdescRight">调用SetWindowTextW设置窗口文本  <br /></td></tr>
<tr class="separator:aba0ab3734c3d4c07f3b9bbb029b98edb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dd30ab5e8700832140c329739b4b671" id="r_a7dd30ab5e8700832140c329739b4b671"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7dd30ab5e8700832140c329739b4b671">OnCreate</a> ()</td></tr>
<tr class="memdesc:a7dd30ab5e8700832140c329739b4b671"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CREATE时调用该函数  <br /></td></tr>
<tr class="separator:a7dd30ab5e8700832140c329739b4b671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e30c4d0b87c473115e7521c5c95703a" id="r_a0e30c4d0b87c473115e7521c5c95703a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0e30c4d0b87c473115e7521c5c95703a">OnClose</a> ()</td></tr>
<tr class="memdesc:a0e30c4d0b87c473115e7521c5c95703a"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CLOSE时调用该函数  <br /></td></tr>
<tr class="separator:a0e30c4d0b87c473115e7521c5c95703a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98d960679d1889998ba548af6a3c8fc4" id="r_a98d960679d1889998ba548af6a3c8fc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a98d960679d1889998ba548af6a3c8fc4">OnDestroy</a> ()</td></tr>
<tr class="memdesc:a98d960679d1889998ba548af6a3c8fc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_DESTROY时调用该函数  <br /></td></tr>
<tr class="separator:a98d960679d1889998ba548af6a3c8fc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a029ba4be0e492f8383f2b5fe22125acb" id="r_a029ba4be0e492f8383f2b5fe22125acb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a029ba4be0e492f8383f2b5fe22125acb">OnPaint</a> ()</td></tr>
<tr class="memdesc:a029ba4be0e492f8383f2b5fe22125acb"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_PAINT时调用该函数  <br /></td></tr>
<tr class="separator:a029ba4be0e492f8383f2b5fe22125acb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad90b0eebbaa959949cae5b736e2104aa" id="r_ad90b0eebbaa959949cae5b736e2104aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad90b0eebbaa959949cae5b736e2104aa">OnEndPaint</a> ()</td></tr>
<tr class="memdesc:ad90b0eebbaa959949cae5b736e2104aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">在OnPaint函数完成之后调用该函数  <br /></td></tr>
<tr class="separator:ad90b0eebbaa959949cae5b736e2104aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17769747f602f2f7c18a0a49ce97a125" id="r_a17769747f602f2f7c18a0a49ce97a125"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a17769747f602f2f7c18a0a49ce97a125">OnMove</a> (<a class="el" href="structsw_1_1_point.html">Point</a> newClientPosition)</td></tr>
<tr class="memdesc:a17769747f602f2f7c18a0a49ce97a125"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MOVE时调用该函数  <br /></td></tr>
<tr class="separator:a17769747f602f2f7c18a0a49ce97a125"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaba3c3ea0a8d12be237ef28e44018677" id="r_aaba3c3ea0a8d12be237ef28e44018677"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaba3c3ea0a8d12be237ef28e44018677">OnSize</a> (<a class="el" href="structsw_1_1_size.html">Size</a> newClientSize)</td></tr>
<tr class="memdesc:aaba3c3ea0a8d12be237ef28e44018677"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SIZE时调用该函数  <br /></td></tr>
<tr class="separator:aaba3c3ea0a8d12be237ef28e44018677"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb808283f6ccd5a32834ad25fa2f407b" id="r_adb808283f6ccd5a32834ad25fa2f407b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adb808283f6ccd5a32834ad25fa2f407b">OnTextChanged</a> ()</td></tr>
<tr class="memdesc:adb808283f6ccd5a32834ad25fa2f407b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Text属性更改时调用此函数  <br /></td></tr>
<tr class="separator:adb808283f6ccd5a32834ad25fa2f407b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b15e8f2bcac32da4d5e540445ae201a" id="r_a4b15e8f2bcac32da4d5e540445ae201a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4b15e8f2bcac32da4d5e540445ae201a">OnSetFocus</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> <a class="el" href="classsw_1_1_dictionary.html">hPrevFocus</a>)</td></tr>
<tr class="memdesc:a4b15e8f2bcac32da4d5e540445ae201a"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SETFOCUS时调用该函数  <br /></td></tr>
<tr class="separator:a4b15e8f2bcac32da4d5e540445ae201a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6de15bd6a264721f6bfadd40d9fce3b0" id="r_a6de15bd6a264721f6bfadd40d9fce3b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6de15bd6a264721f6bfadd40d9fce3b0">OnKillFocus</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> <a class="el" href="classsw_1_1_dictionary.html">hNextFocus</a>)</td></tr>
<tr class="memdesc:a6de15bd6a264721f6bfadd40d9fce3b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_KILLFOCUS时调用该函数  <br /></td></tr>
<tr class="separator:a6de15bd6a264721f6bfadd40d9fce3b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad188b201bbbc650c4ad9c388dbac18b4" id="r_ad188b201bbbc650c4ad9c388dbac18b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad188b201bbbc650c4ad9c388dbac18b4">OnMouseMove</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:ad188b201bbbc650c4ad9c388dbac18b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MOUSEMOVE时调用该函数  <br /></td></tr>
<tr class="separator:ad188b201bbbc650c4ad9c388dbac18b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf334072263bea6dddf93a7601979023" id="r_aaf334072263bea6dddf93a7601979023"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaf334072263bea6dddf93a7601979023">OnMouseLeave</a> ()</td></tr>
<tr class="memdesc:aaf334072263bea6dddf93a7601979023"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MOUSELEAVE时调用该函数  <br /></td></tr>
<tr class="separator:aaf334072263bea6dddf93a7601979023"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcf94f9017f5589b3027955e48c34b62" id="r_adcf94f9017f5589b3027955e48c34b62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adcf94f9017f5589b3027955e48c34b62">OnMouseWheel</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> wheelDelta, <a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:adcf94f9017f5589b3027955e48c34b62"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MOUSEWHEEL时调用该函数  <br /></td></tr>
<tr class="separator:adcf94f9017f5589b3027955e48c34b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a118948e07b472d90fce7e9811ea174aa" id="r_a118948e07b472d90fce7e9811ea174aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a118948e07b472d90fce7e9811ea174aa">OnMouseLeftButtonDown</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a118948e07b472d90fce7e9811ea174aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_LBUTTONDOWN时调用该函数  <br /></td></tr>
<tr class="separator:a118948e07b472d90fce7e9811ea174aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad82a0ab5f0622abaf30456e7e309409e" id="r_ad82a0ab5f0622abaf30456e7e309409e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad82a0ab5f0622abaf30456e7e309409e">OnMouseLeftButtonUp</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:ad82a0ab5f0622abaf30456e7e309409e"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_LBUTTONUP时调用该函数  <br /></td></tr>
<tr class="separator:ad82a0ab5f0622abaf30456e7e309409e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a8952400bee12db2117fbf76312d373" id="r_a5a8952400bee12db2117fbf76312d373"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5a8952400bee12db2117fbf76312d373">OnMouseLeftButtonDoubleClick</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a5a8952400bee12db2117fbf76312d373"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_LBUTTONDBLCLK时调用该函数  <br /></td></tr>
<tr class="separator:a5a8952400bee12db2117fbf76312d373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c802a79d332af6e6a6ddcf13005a587" id="r_a4c802a79d332af6e6a6ddcf13005a587"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4c802a79d332af6e6a6ddcf13005a587">OnMouseRightButtonDown</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a4c802a79d332af6e6a6ddcf13005a587"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_RBUTTONDOWN时调用该函数  <br /></td></tr>
<tr class="separator:a4c802a79d332af6e6a6ddcf13005a587"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb7286fd72b6d49b6d0b22d8cde07941" id="r_aeb7286fd72b6d49b6d0b22d8cde07941"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aeb7286fd72b6d49b6d0b22d8cde07941">OnMouseRightButtonUp</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:aeb7286fd72b6d49b6d0b22d8cde07941"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_RBUTTONUP时调用该函数  <br /></td></tr>
<tr class="separator:aeb7286fd72b6d49b6d0b22d8cde07941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b90855aaaa4556e5ef5fe68e8149669" id="r_a5b90855aaaa4556e5ef5fe68e8149669"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5b90855aaaa4556e5ef5fe68e8149669">OnMouseRightButtonDoubleClick</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a5b90855aaaa4556e5ef5fe68e8149669"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_RBUTTONDBLCLK时调用该函数  <br /></td></tr>
<tr class="separator:a5b90855aaaa4556e5ef5fe68e8149669"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a348d10334d2f74a44f741bf85eddaa2c" id="r_a348d10334d2f74a44f741bf85eddaa2c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a348d10334d2f74a44f741bf85eddaa2c">OnMouseMiddleButtonDown</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a348d10334d2f74a44f741bf85eddaa2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MBUTTONDOWN时调用该函数  <br /></td></tr>
<tr class="separator:a348d10334d2f74a44f741bf85eddaa2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a143aff6cca9e55608630d1fc320d4666" id="r_a143aff6cca9e55608630d1fc320d4666"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a143aff6cca9e55608630d1fc320d4666">OnMouseMiddleButtonUp</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a143aff6cca9e55608630d1fc320d4666"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MBUTTONUP时调用该函数  <br /></td></tr>
<tr class="separator:a143aff6cca9e55608630d1fc320d4666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa14c2130ef0fbb656d28c287e401f5" id="r_a4aa14c2130ef0fbb656d28c287e401f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4aa14c2130ef0fbb656d28c287e401f5">OnMouseMiddleButtonDoubleClick</a> (<a class="el" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</td></tr>
<tr class="memdesc:a4aa14c2130ef0fbb656d28c287e401f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_MBUTTONDBLCLK时调用该函数  <br /></td></tr>
<tr class="separator:a4aa14c2130ef0fbb656d28c287e401f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0f719a2feffe354737cef9b13b63db0" id="r_ad0f719a2feffe354737cef9b13b63db0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad0f719a2feffe354737cef9b13b63db0">OnChar</a> (<a class="el" href="classsw_1_1_dictionary.html">wchar_t</a> ch, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:ad0f719a2feffe354737cef9b13b63db0"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CHAR时调用该函数  <br /></td></tr>
<tr class="separator:ad0f719a2feffe354737cef9b13b63db0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c72db003eeb8a29565576ad26cc89b8" id="r_a4c72db003eeb8a29565576ad26cc89b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4c72db003eeb8a29565576ad26cc89b8">OnDeadChar</a> (<a class="el" href="classsw_1_1_dictionary.html">wchar_t</a> ch, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:a4c72db003eeb8a29565576ad26cc89b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_DEADCHAR时调用该函数  <br /></td></tr>
<tr class="separator:a4c72db003eeb8a29565576ad26cc89b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea1d61cd6e108834e498009926ff3ebd" id="r_aea1d61cd6e108834e498009926ff3ebd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aea1d61cd6e108834e498009926ff3ebd">OnKeyDown</a> (VirtualKey key, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:aea1d61cd6e108834e498009926ff3ebd"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_KEYDOWN时调用该函数  <br /></td></tr>
<tr class="separator:aea1d61cd6e108834e498009926ff3ebd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4e6b89a39f12d2fbdf987d79c05b190" id="r_af4e6b89a39f12d2fbdf987d79c05b190"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af4e6b89a39f12d2fbdf987d79c05b190">OnKeyUp</a> (VirtualKey key, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:af4e6b89a39f12d2fbdf987d79c05b190"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_KEYUP时调用该函数  <br /></td></tr>
<tr class="separator:af4e6b89a39f12d2fbdf987d79c05b190"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a515de5eb7bc6dbc8314c447a99154c6c" id="r_a515de5eb7bc6dbc8314c447a99154c6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a515de5eb7bc6dbc8314c447a99154c6c">OnSysChar</a> (<a class="el" href="classsw_1_1_dictionary.html">wchar_t</a> ch, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:a515de5eb7bc6dbc8314c447a99154c6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SYSCHAR时调用该函数  <br /></td></tr>
<tr class="separator:a515de5eb7bc6dbc8314c447a99154c6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf4e6c0bbc8fddc9e790864e403c5c91" id="r_acf4e6c0bbc8fddc9e790864e403c5c91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acf4e6c0bbc8fddc9e790864e403c5c91">OnSysDeadChar</a> (<a class="el" href="classsw_1_1_dictionary.html">wchar_t</a> ch, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:acf4e6c0bbc8fddc9e790864e403c5c91"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SYSDEADCHAR时调用该函数  <br /></td></tr>
<tr class="separator:acf4e6c0bbc8fddc9e790864e403c5c91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad63e584926b894913ee1ef4c039a2f98" id="r_ad63e584926b894913ee1ef4c039a2f98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad63e584926b894913ee1ef4c039a2f98">OnSysKeyDown</a> (VirtualKey key, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:ad63e584926b894913ee1ef4c039a2f98"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SYSKEYDOWN时调用该函数  <br /></td></tr>
<tr class="separator:ad63e584926b894913ee1ef4c039a2f98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46dafa7371fbef198ee7a38c4aabc632" id="r_a46dafa7371fbef198ee7a38c4aabc632"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a46dafa7371fbef198ee7a38c4aabc632">OnSysKeyUp</a> (VirtualKey key, <a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</td></tr>
<tr class="memdesc:a46dafa7371fbef198ee7a38c4aabc632"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SYSKEYUP时调用该函数  <br /></td></tr>
<tr class="separator:a46dafa7371fbef198ee7a38c4aabc632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef02bbac8ef450e5f3f478b41031a3ab" id="r_aef02bbac8ef450e5f3f478b41031a3ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aef02bbac8ef450e5f3f478b41031a3ab">VisibleChanged</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">newVisible</a>)</td></tr>
<tr class="memdesc:aef02bbac8ef450e5f3f478b41031a3ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visible属性改变时调用此函数  <br /></td></tr>
<tr class="separator:aef02bbac8ef450e5f3f478b41031a3ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fd142cef45421381b2e8b89cac67d86" id="r_a5fd142cef45421381b2e8b89cac67d86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5fd142cef45421381b2e8b89cac67d86">SetParent</a> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="el" href="classsw_1_1_dictionary.html">parent</a>)</td></tr>
<tr class="memdesc:a5fd142cef45421381b2e8b89cac67d86"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置父窗口  <br /></td></tr>
<tr class="separator:a5fd142cef45421381b2e8b89cac67d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d09cfbc382789150798ff6ad3d9f988" id="r_a4d09cfbc382789150798ff6ad3d9f988"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4d09cfbc382789150798ff6ad3d9f988">ParentChanged</a> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="el" href="classsw_1_1_dictionary.html">newParent</a>)</td></tr>
<tr class="memdesc:a4d09cfbc382789150798ff6ad3d9f988"><td class="mdescLeft">&#160;</td><td class="mdescRight">父窗口改变时调用此函数  <br /></td></tr>
<tr class="separator:a4d09cfbc382789150798ff6ad3d9f988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60e633e3cfea36b186c4a210925e865a" id="r_a60e633e3cfea36b186c4a210925e865a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a60e633e3cfea36b186c4a210925e865a">OnCommand</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> <a class="el" href="classsw_1_1_dictionary.html">code</a>)</td></tr>
<tr class="memdesc:a60e633e3cfea36b186c4a210925e865a"><td class="mdescLeft">&#160;</td><td class="mdescRight">当父窗口接收到控件的WM_COMMAND时调用该函数  <br /></td></tr>
<tr class="separator:a60e633e3cfea36b186c4a210925e865a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69256166096bb51cde45f101c4e9ae95" id="r_a69256166096bb51cde45f101c4e9ae95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a69256166096bb51cde45f101c4e9ae95">OnControlCommand</a> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="el" href="classsw_1_1_dictionary.html">pControl</a>, <a class="el" href="classsw_1_1_dictionary.html">int</a> <a class="el" href="classsw_1_1_dictionary.html">code</a>, <a class="el" href="classsw_1_1_dictionary.html">int</a> id)</td></tr>
<tr class="memdesc:a69256166096bb51cde45f101c4e9ae95"><td class="mdescLeft">&#160;</td><td class="mdescRight">当WM_COMMAND接收到控件命令时调用该函数  <br /></td></tr>
<tr class="separator:a69256166096bb51cde45f101c4e9ae95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afffc1d57f289f965bc50d8150c4586e1" id="r_afffc1d57f289f965bc50d8150c4586e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afffc1d57f289f965bc50d8150c4586e1">OnMenuCommand</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> id)</td></tr>
<tr class="memdesc:afffc1d57f289f965bc50d8150c4586e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">当WM_COMMAND接收到菜单命令时调用该函数  <br /></td></tr>
<tr class="separator:afffc1d57f289f965bc50d8150c4586e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a935f2bb51b99929ac5166ad52396971a" id="r_a935f2bb51b99929ac5166ad52396971a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a935f2bb51b99929ac5166ad52396971a">OnAcceleratorCommand</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> id)</td></tr>
<tr class="memdesc:a935f2bb51b99929ac5166ad52396971a"><td class="mdescLeft">&#160;</td><td class="mdescRight">当WM_COMMAND接收到快捷键命令时调用该函数  <br /></td></tr>
<tr class="separator:a935f2bb51b99929ac5166ad52396971a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b368860fef40406c091880fc72f9cbb" id="r_a4b368860fef40406c091880fc72f9cbb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4b368860fef40406c091880fc72f9cbb">HandleInitialized</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> hwnd)</td></tr>
<tr class="memdesc:a4b368860fef40406c091880fc72f9cbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口句柄初始化完成  <br /></td></tr>
<tr class="separator:a4b368860fef40406c091880fc72f9cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac34494921eed0f67a053a9393d78bcf9" id="r_ac34494921eed0f67a053a9393d78bcf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac34494921eed0f67a053a9393d78bcf9">FontChanged</a> (<a class="el" href="classsw_1_1_dictionary.html">HFONT</a> <a class="el" href="classsw_1_1_dictionary.html">hfont</a>)</td></tr>
<tr class="memdesc:ac34494921eed0f67a053a9393d78bcf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">字体改变时调用该函数  <br /></td></tr>
<tr class="separator:ac34494921eed0f67a053a9393d78bcf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab37c3f3ea7654eb6a0b15405196c4549" id="r_ab37c3f3ea7654eb6a0b15405196c4549"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab37c3f3ea7654eb6a0b15405196c4549">OnSetCursor</a> (<a class="el" href="classsw_1_1_dictionary.html">HWND</a> hwnd, HitTestResult <a class="el" href="classsw_1_1_dictionary.html">hitTest</a>, <a class="el" href="classsw_1_1_dictionary.html">int</a> <a class="el" href="classsw_1_1_dictionary.html">message</a>, <a class="el" href="classsw_1_1_dictionary.html">bool</a> &amp;result)</td></tr>
<tr class="memdesc:ab37c3f3ea7654eb6a0b15405196c4549"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_SETCURSOR消息时调用该函数  <br /></td></tr>
<tr class="separator:ab37c3f3ea7654eb6a0b15405196c4549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c436f7819721b3f1a700c39ea538003" id="r_a2c436f7819721b3f1a700c39ea538003"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2c436f7819721b3f1a700c39ea538003">OnContextMenu</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> isKeyboardMsg, <a class="el" href="structsw_1_1_point.html">Point</a> mousePosition)</td></tr>
<tr class="memdesc:a2c436f7819721b3f1a700c39ea538003"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CONTEXTMENU后调用目标控件的该函数  <br /></td></tr>
<tr class="separator:a2c436f7819721b3f1a700c39ea538003"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a191f7c32914b029dca7c93e03b4841e0" id="r_a191f7c32914b029dca7c93e03b4841e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a191f7c32914b029dca7c93e03b4841e0">OnNotify</a> (<a class="el" href="classsw_1_1_dictionary.html">NMHDR</a> *<a class="el" href="classsw_1_1_dictionary.html">pNMHDR</a>)</td></tr>
<tr class="memdesc:a191f7c32914b029dca7c93e03b4841e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_NOTIFY后调用该函数  <br /></td></tr>
<tr class="separator:a191f7c32914b029dca7c93e03b4841e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aad533e3d37a7de43645d703dda1a84" id="r_a4aad533e3d37a7de43645d703dda1a84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4aad533e3d37a7de43645d703dda1a84">OnNotified</a> (<a class="el" href="classsw_1_1_dictionary.html">NMHDR</a> *<a class="el" href="classsw_1_1_dictionary.html">pNMHDR</a>)</td></tr>
<tr class="memdesc:a4aad533e3d37a7de43645d703dda1a84"><td class="mdescLeft">&#160;</td><td class="mdescRight">父窗口接收到WM_NOTIFY后调用发出通知控件的该函数  <br /></td></tr>
<tr class="separator:a4aad533e3d37a7de43645d703dda1a84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72a4024b2096ecef4248b1c254b674e2" id="r_a72a4024b2096ecef4248b1c254b674e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a72a4024b2096ecef4248b1c254b674e2">OnVerticalScroll</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> event, <a class="el" href="classsw_1_1_dictionary.html">int</a> pos)</td></tr>
<tr class="memdesc:a72a4024b2096ecef4248b1c254b674e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_VSCROLL时调用目标控件的该函数  <br /></td></tr>
<tr class="separator:a72a4024b2096ecef4248b1c254b674e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6773148b0a9a1fdd3c8a0d8cd54a2fd" id="r_af6773148b0a9a1fdd3c8a0d8cd54a2fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af6773148b0a9a1fdd3c8a0d8cd54a2fd">OnHorizontalScroll</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> event, <a class="el" href="classsw_1_1_dictionary.html">int</a> pos)</td></tr>
<tr class="memdesc:af6773148b0a9a1fdd3c8a0d8cd54a2fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_HSCROLL时调用目标控件的该函数  <br /></td></tr>
<tr class="separator:af6773148b0a9a1fdd3c8a0d8cd54a2fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a755bd826227232fd30ba5fda47bfb060" id="r_a755bd826227232fd30ba5fda47bfb060"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a755bd826227232fd30ba5fda47bfb060">OnEnabledChanged</a> (<a class="el" href="classsw_1_1_dictionary.html">bool</a> <a class="el" href="classsw_1_1_dictionary.html">newValue</a>)</td></tr>
<tr class="memdesc:a755bd826227232fd30ba5fda47bfb060"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_ENABLE时调用该函数  <br /></td></tr>
<tr class="separator:a755bd826227232fd30ba5fda47bfb060"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa04cd83e79c42d21127799e573d9f299" id="r_aa04cd83e79c42d21127799e573d9f299"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa04cd83e79c42d21127799e573d9f299">OnCtlColor</a> (<a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *<a class="el" href="classsw_1_1_dictionary.html">pControl</a>, <a class="el" href="classsw_1_1_dictionary.html">HDC</a> <a class="el" href="classsw_1_1_dictionary.html">hdc</a>, <a class="el" href="classsw_1_1_dictionary.html">HBRUSH</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">hRetBrush</a>)</td></tr>
<tr class="memdesc:aa04cd83e79c42d21127799e573d9f299"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_CTLCOLORxxx时调用该函数  <br /></td></tr>
<tr class="separator:aa04cd83e79c42d21127799e573d9f299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa605b4a21b4cd8c43c226349665a5f28" id="r_aa605b4a21b4cd8c43c226349665a5f28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa605b4a21b4cd8c43c226349665a5f28">OnColor</a> (<a class="el" href="classsw_1_1_dictionary.html">HDC</a> <a class="el" href="classsw_1_1_dictionary.html">hdc</a>, <a class="el" href="classsw_1_1_dictionary.html">HBRUSH</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">hRetBrush</a>)</td></tr>
<tr class="memdesc:aa605b4a21b4cd8c43c226349665a5f28"><td class="mdescLeft">&#160;</td><td class="mdescRight">父窗口接收到WM_CTLCOLORxxx时调用对应控件的该函数  <br /></td></tr>
<tr class="separator:aa605b4a21b4cd8c43c226349665a5f28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1445af2018a8e840a25a7487da22c51b" id="r_a1445af2018a8e840a25a7487da22c51b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1445af2018a8e840a25a7487da22c51b">OnNcHitTest</a> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;<a class="el" href="classsw_1_1_dictionary.html">testPoint</a>, HitTestResult &amp;result)</td></tr>
<tr class="memdesc:a1445af2018a8e840a25a7487da22c51b"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_NCHITTEST后调用该函数  <br /></td></tr>
<tr class="separator:a1445af2018a8e840a25a7487da22c51b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a748fda35e75d416077598f243afe9da1" id="r_a748fda35e75d416077598f243afe9da1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a748fda35e75d416077598f243afe9da1">OnEraseBackground</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> &amp;result)</td></tr>
<tr class="memdesc:a748fda35e75d416077598f243afe9da1"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_ERASEBKGND时调用该函数  <br /></td></tr>
<tr class="separator:a748fda35e75d416077598f243afe9da1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e9cac4e02b3a420c42968cbf061fd02" id="r_a6e9cac4e02b3a420c42968cbf061fd02"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6e9cac4e02b3a420c42968cbf061fd02">OnDrawItem</a> (<a class="el" href="classsw_1_1_dictionary.html">int</a> id, <a class="el" href="classsw_1_1_dictionary.html">DRAWITEMSTRUCT</a> *<a class="el" href="classsw_1_1_dictionary.html">pDrawItem</a>)</td></tr>
<tr class="memdesc:a6e9cac4e02b3a420c42968cbf061fd02"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_DRAWITEM时调用该函数  <br /></td></tr>
<tr class="separator:a6e9cac4e02b3a420c42968cbf061fd02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e95c73d7ac95cf80a1f49a970703b0b" id="r_a9e95c73d7ac95cf80a1f49a970703b0b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9e95c73d7ac95cf80a1f49a970703b0b">OnDropFiles</a> (<a class="el" href="classsw_1_1_dictionary.html">HDROP</a> hDrop)</td></tr>
<tr class="memdesc:a9e95c73d7ac95cf80a1f49a970703b0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到WM_DROPFILES时调用该函数  <br /></td></tr>
<tr class="separator:a9e95c73d7ac95cf80a1f49a970703b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a91165e81b129c626cabcc7b3d8a5dc43" id="r_a91165e81b129c626cabcc7b3d8a5dc43"><td class="memItemLeft" align="right" valign="top"><a id="a91165e81b129c626cabcc7b3d8a5dc43" name="a91165e81b129c626cabcc7b3d8a5dc43"></a>
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;left, <a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;right)</td></tr>
<tr class="memdesc:a91165e81b129c626cabcc7b3d8a5dc43"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载==运算符，判断是否为同一个引用 <br /></td></tr>
<tr class="separator:a91165e81b129c626cabcc7b3d8a5dc43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e4f8edb05ac0381561f4a105db73a34" id="r_a3e4f8edb05ac0381561f4a105db73a34"><td class="memItemLeft" align="right" valign="top"><a id="a3e4f8edb05ac0381561f4a105db73a34" name="a3e4f8edb05ac0381561f4a105db73a34"></a>
<a class="el" href="classsw_1_1_dictionary.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;left, <a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> &amp;right)</td></tr>
<tr class="memdesc:a3e4f8edb05ac0381561f4a105db73a34"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载!=运算符，判断是否为不同引用 <br /></td></tr>
<tr class="separator:a3e4f8edb05ac0381561f4a105db73a34"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>表示一个Windows窗口，是所有窗口和控件的基类 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ac34494921eed0f67a053a9393d78bcf9" name="ac34494921eed0f67a053a9393d78bcf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac34494921eed0f67a053a9393d78bcf9">&#9670;&#160;</a></span>FontChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::FontChanged </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HFONT</a></td>          <td class="paramname"><span class="paramname"><em>hfont</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>字体改变时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hfont</td><td>字体句柄 </td></tr>
  </table>
  </dd>
</dl>

<p>被 <a class="el" href="classsw_1_1_i_p_address_control.html#a1c09fb32eb13a13a4d6b6bc31354ad58">sw::IPAddressControl</a>, <a class="el" href="classsw_1_1_label.html#af5e6d5d4530ee12b52ce2ab16f180aac">sw::Label</a> , 以及 <a class="el" href="classsw_1_1_sys_link.html#a6429fa1b1fc327bdbb958d695d4943cc">sw::SysLink</a> 重载.</p>

</div>
</div>
<a id="a2d3e7d32b7cdcfd3489c0d890a2910ab" name="a2d3e7d32b7cdcfd3489c0d890a2910ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d3e7d32b7cdcfd3489c0d890a2910ab">&#9670;&#160;</a></span>GetExtendedStyle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::GetExtendedStyle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">DWORD</a></td>          <td class="paramname"><span class="paramname"><em>mask</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断窗口是否设有指定扩展样式 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>扩展样式的位掩码，可以是多个扩展样式 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae545de230ba94e3263f3197e98308079" name="ae545de230ba94e3263f3197e98308079"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae545de230ba94e3263f3197e98308079">&#9670;&#160;</a></span>GetStyle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::GetStyle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">DWORD</a></td>          <td class="paramname"><span class="paramname"><em>mask</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断窗口是否设有指定样式 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>样式的位掩码，可以是多个样式 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a888df1f6b89e8da1ba8c7cc8f4671370" name="a888df1f6b89e8da1ba8c7cc8f4671370"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a888df1f6b89e8da1ba8c7cc8f4671370">&#9670;&#160;</a></span>GetText()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> std::wstring &amp; sw::WndBase::GetText </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取窗口文本 </p>
<dl class="section return"><dt>返回</dt><dd>_text字段 </dd></dl>

<p>被 <a class="el" href="classsw_1_1_combo_box.html#aac58ae29f08c67b0fe043d6b8822e74d">sw::ComboBox</a> , 以及 <a class="el" href="classsw_1_1_text_box_base.html#a364003a9b7b601f385861108a4e3273e">sw::TextBoxBase</a> 重载.</p>

</div>
</div>
<a id="a9a3b21d4e5d8c49130deb57695294add" name="a9a3b21d4e5d8c49130deb57695294add"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a3b21d4e5d8c49130deb57695294add">&#9670;&#160;</a></span>GetWndBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">static</a> <a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> * sw::WndBase::GetWndBase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HWND</a></td>          <td class="paramname"><span class="paramname"><em>hwnd</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通过窗口句柄获取WndBase </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hwnd</td><td>窗口句柄 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若函数成功则返回对象的指针，否则返回nullptr </dd></dl>

</div>
</div>
<a id="a4b368860fef40406c091880fc72f9cbb" name="a4b368860fef40406c091880fc72f9cbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b368860fef40406c091880fc72f9cbb">&#9670;&#160;</a></span>HandleInitialized()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::HandleInitialized </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HWND</a></td>          <td class="paramname"><span class="paramname"><em>hwnd</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>窗口句柄初始化完成 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hwnd</td><td>窗口句柄 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a87c9d860ba24487f2b61b72987a4bd63" name="a87c9d860ba24487f2b61b72987a4bd63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87c9d860ba24487f2b61b72987a4bd63">&#9670;&#160;</a></span>NcHitTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HitTestResult sw::WndBase::NcHitTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>testPoint</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>测试指定点在窗口的哪一部分 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">testPoint</td><td>要测试的点在屏幕中的位置 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a935f2bb51b99929ac5166ad52396971a" name="a935f2bb51b99929ac5166ad52396971a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a935f2bb51b99929ac5166ad52396971a">&#9670;&#160;</a></span>OnAcceleratorCommand()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::OnAcceleratorCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>当WM_COMMAND接收到快捷键命令时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>快捷键id </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad0f719a2feffe354737cef9b13b63db0" name="ad0f719a2feffe354737cef9b13b63db0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0f719a2feffe354737cef9b13b63db0">&#9670;&#160;</a></span>OnChar()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnChar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">wchar_t</a></td>          <td class="paramname"><span class="paramname"><em>ch</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_CHAR时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>按键的字符代码 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_text_box_base.html#aa88527cddd82fc158e0ac3ca662604c1">sw::TextBoxBase</a> , 以及 <a class="el" href="classsw_1_1_u_i_element.html#a3a92f96787dd7981f0c1934ff618b36e">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a0e30c4d0b87c473115e7521c5c95703a" name="a0e30c4d0b87c473115e7521c5c95703a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e30c4d0b87c473115e7521c5c95703a">&#9670;&#160;</a></span>OnClose()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnClose </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_CLOSE时调用该函数 </p>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a1c1f0b6a491e639c76e46a29bff00d65">sw::UIElement</a> , 以及 <a class="el" href="classsw_1_1_window.html#a50969fbd9f30ad27e72f11cb28ee4697">sw::Window</a> 重载.</p>

</div>
</div>
<a id="aa605b4a21b4cd8c43c226349665a5f28" name="aa605b4a21b4cd8c43c226349665a5f28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa605b4a21b4cd8c43c226349665a5f28">&#9670;&#160;</a></span>OnColor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnColor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HDC</a></td>          <td class="paramname"><span class="paramname"><em>hdc</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HBRUSH</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>hRetBrush</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>父窗口接收到WM_CTLCOLORxxx时调用对应控件的该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hdc</td><td>控件的显示上下文句柄 </td></tr>
    <tr><td class="paramname">hRetBrush</td><td>要返回的画笔 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若返回true则将hRetBrush作为消息的返回值，否则使用DefaultWndProc的返回值 </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a5e16c574d3fc57a9da8ac8d9c2bf1a24">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a60e633e3cfea36b186c4a210925e865a" name="a60e633e3cfea36b186c4a210925e865a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60e633e3cfea36b186c4a210925e865a">&#9670;&#160;</a></span>OnCommand()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::OnCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>code</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>当父窗口接收到控件的WM_COMMAND时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>通知代码 </td></tr>
  </table>
  </dd>
</dl>

<p>被 <a class="el" href="classsw_1_1_button_base.html#ad95b3a535345f674c55b7c6287e49a2d">sw::ButtonBase</a>, <a class="el" href="classsw_1_1_combo_box.html#a691d1f3e1dd2cadae40fdcca2f05f6e2">sw::ComboBox</a>, <a class="el" href="classsw_1_1_hot_key_control.html#adea9a710792f25863f73ec40b0699ec6">sw::HotKeyControl</a>, <a class="el" href="classsw_1_1_list_box.html#a018949ce98442934f04da456de5c6db1">sw::ListBox</a> , 以及 <a class="el" href="classsw_1_1_text_box_base.html#a1e7210993dcbf6cfdaff3dcc3246dfd5">sw::TextBoxBase</a> 重载.</p>

</div>
</div>
<a id="a2c436f7819721b3f1a700c39ea538003" name="a2c436f7819721b3f1a700c39ea538003"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c436f7819721b3f1a700c39ea538003">&#9670;&#160;</a></span>OnContextMenu()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnContextMenu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">bool</a></td>          <td class="paramname"><span class="paramname"><em>isKeyboardMsg</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_CONTEXTMENU后调用目标控件的该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">isKeyboardMsg</td><td>消息是否由按下快捷键（Shift+F10、VK_APPS）产生 </td></tr>
    <tr><td class="paramname">mousePosition</td><td>鼠标在屏幕中的位置 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_list_box.html#a1708816955c247ec4b7e0a1291486088">sw::ListBox</a> , 以及 <a class="el" href="classsw_1_1_u_i_element.html#a656bb4995529a018d8c823fc45abf233">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a69256166096bb51cde45f101c4e9ae95" name="a69256166096bb51cde45f101c4e9ae95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69256166096bb51cde45f101c4e9ae95">&#9670;&#160;</a></span>OnControlCommand()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::OnControlCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *</td>          <td class="paramname"><span class="paramname"><em>pControl</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>code</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>id</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>当WM_COMMAND接收到控件命令时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pControl</td><td>控件对象指针 </td></tr>
    <tr><td class="paramname">code</td><td>通知代码 </td></tr>
    <tr><td class="paramname">id</td><td>控件id </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7dd30ab5e8700832140c329739b4b671" name="a7dd30ab5e8700832140c329739b4b671"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dd30ab5e8700832140c329739b4b671">&#9670;&#160;</a></span>OnCreate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnCreate </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_CREATE时调用该函数 </p>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="aa04cd83e79c42d21127799e573d9f299" name="aa04cd83e79c42d21127799e573d9f299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa04cd83e79c42d21127799e573d9f299">&#9670;&#160;</a></span>OnCtlColor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnCtlColor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *</td>          <td class="paramname"><span class="paramname"><em>pControl</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HDC</a></td>          <td class="paramname"><span class="paramname"><em>hdc</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HBRUSH</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>hRetBrush</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_CTLCOLORxxx时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pControl</td><td>消息相关的控件 </td></tr>
    <tr><td class="paramname">hdc</td><td>控件的显示上下文句柄 </td></tr>
    <tr><td class="paramname">hRetBrush</td><td>要返回的画笔 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若返回true则将hRetBrush作为消息的返回值，否则使用DefaultWndProc的返回值 </dd></dl>

</div>
</div>
<a id="a4c72db003eeb8a29565576ad26cc89b8" name="a4c72db003eeb8a29565576ad26cc89b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c72db003eeb8a29565576ad26cc89b8">&#9670;&#160;</a></span>OnDeadChar()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnDeadChar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">wchar_t</a></td>          <td class="paramname"><span class="paramname"><em>ch</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_DEADCHAR时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>按键的字符代码 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="a98d960679d1889998ba548af6a3c8fc4" name="a98d960679d1889998ba548af6a3c8fc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98d960679d1889998ba548af6a3c8fc4">&#9670;&#160;</a></span>OnDestroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnDestroy </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_DESTROY时调用该函数 </p>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_bmp_box.html#a332642f5bef5d54589d5c1d322fd6ded">sw::BmpBox</a>, <a class="el" href="classsw_1_1_hwnd_host.html#a9535b63e17fbb079ce4f618c288cb9bd">sw::HwndHost</a>, <a class="el" href="classsw_1_1_icon_box.html#a94a361433c19bfbf8e3f0a44441448d7">sw::IconBox</a> , 以及 <a class="el" href="classsw_1_1_window.html#a09165434040ada6ea3f00a7d79b1f7a2">sw::Window</a> 重载.</p>

</div>
</div>
<a id="a6e9cac4e02b3a420c42968cbf061fd02" name="a6e9cac4e02b3a420c42968cbf061fd02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e9cac4e02b3a420c42968cbf061fd02">&#9670;&#160;</a></span>OnDrawItem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnDrawItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>id</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">DRAWITEMSTRUCT</a> *</td>          <td class="paramname"><span class="paramname"><em>pDrawItem</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_DRAWITEM时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>控件的标识符，若消息是通过菜单发送的则此参数为零 </td></tr>
    <tr><td class="paramname">pDrawItem</td><td>包含有关要绘制的项和所需绘图类型的信息的结构体指针 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="a9e95c73d7ac95cf80a1f49a970703b0b" name="a9e95c73d7ac95cf80a1f49a970703b0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e95c73d7ac95cf80a1f49a970703b0b">&#9670;&#160;</a></span>OnDropFiles()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnDropFiles </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HDROP</a></td>          <td class="paramname"><span class="paramname"><em>hDrop</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_DROPFILES时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hDrop</td><td>描述拖入文件的句柄 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a6a331869736475e10e2f861b5a242565">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a755bd826227232fd30ba5fda47bfb060" name="a755bd826227232fd30ba5fda47bfb060"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a755bd826227232fd30ba5fda47bfb060">&#9670;&#160;</a></span>OnEnabledChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnEnabledChanged </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">bool</a></td>          <td class="paramname"><span class="paramname"><em>newValue</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_ENABLE时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newValue</td><td>Enabled的新值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="ad90b0eebbaa959949cae5b736e2104aa" name="ad90b0eebbaa959949cae5b736e2104aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad90b0eebbaa959949cae5b736e2104aa">&#9670;&#160;</a></span>OnEndPaint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::OnEndPaint </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在OnPaint函数完成之后调用该函数 </p>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a57a1cb1cc82765f93b21fa8261ec2e50">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a748fda35e75d416077598f243afe9da1" name="a748fda35e75d416077598f243afe9da1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a748fda35e75d416077598f243afe9da1">&#9670;&#160;</a></span>OnEraseBackground()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnEraseBackground </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>result</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_ERASEBKGND时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>若已处理该消息则设为非零值，默认值为0 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若返回true则将result作为消息的返回值，否则使用DefaultWndProc的返回值 </dd></dl>

<p>被 <a class="el" href="classsw_1_1_window.html#adfcacbd8da1c33b53a16990c76d86079">sw::Window</a> 重载.</p>

</div>
</div>
<a id="af6773148b0a9a1fdd3c8a0d8cd54a2fd" name="af6773148b0a9a1fdd3c8a0d8cd54a2fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6773148b0a9a1fdd3c8a0d8cd54a2fd">&#9670;&#160;</a></span>OnHorizontalScroll()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnHorizontalScroll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>event</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>pos</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_HSCROLL时调用目标控件的该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>事件类型，即消息wParam的低字 </td></tr>
    <tr><td class="paramname">pos</td><td>当前滚动条的位置，仅当event为SB_THUMBPOSITION或SB_THUMBTRACK时有效 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_layer.html#ab199e8fc6b90975b7dcb5fdb4e5f2853">sw::Layer</a>, <a class="el" href="classsw_1_1_panel_base.html#a9d40f5306f341eb9fff7c389b11f76f6">sw::PanelBase</a> , 以及 <a class="el" href="classsw_1_1_slider.html#a0614fc49d6825b3f864171246fa15892">sw::Slider</a> 重载.</p>

</div>
</div>
<a id="aea1d61cd6e108834e498009926ff3ebd" name="aea1d61cd6e108834e498009926ff3ebd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea1d61cd6e108834e498009926ff3ebd">&#9670;&#160;</a></span>OnKeyDown()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnKeyDown </td>
          <td>(</td>
          <td class="paramtype">VirtualKey</td>          <td class="paramname"><span class="paramname"><em>key</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_KEYDOWN时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>虚拟按键 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_button.html#a7c8ac08e29b2b2294047949bfc025891">sw::Button</a>, <a class="el" href="classsw_1_1_text_box_base.html#a83561e8ffe232f84c13dc14c941600f6">sw::TextBoxBase</a> , 以及 <a class="el" href="classsw_1_1_u_i_element.html#ab7adb46425947c0b14b3bc5b60f6fdac">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="af4e6b89a39f12d2fbdf987d79c05b190" name="af4e6b89a39f12d2fbdf987d79c05b190"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4e6b89a39f12d2fbdf987d79c05b190">&#9670;&#160;</a></span>OnKeyUp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnKeyUp </td>
          <td>(</td>
          <td class="paramtype">VirtualKey</td>          <td class="paramname"><span class="paramname"><em>key</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_KEYUP时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>虚拟按键 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#ad2be8df1de363a180ef2c32606e2fc74">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a6de15bd6a264721f6bfadd40d9fce3b0" name="a6de15bd6a264721f6bfadd40d9fce3b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6de15bd6a264721f6bfadd40d9fce3b0">&#9670;&#160;</a></span>OnKillFocus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnKillFocus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HWND</a></td>          <td class="paramname"><span class="paramname"><em>hNextFocus</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_KILLFOCUS时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hNextFocus</td><td>接收到焦点的hwnd，可能为NULL </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_button.html#a367d1dfa43e065dbe2a0272d4cfef458">sw::Button</a> , 以及 <a class="el" href="classsw_1_1_u_i_element.html#a6b8833ac8fe8798edd0480f737aea426">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="afffc1d57f289f965bc50d8150c4586e1" name="afffc1d57f289f965bc50d8150c4586e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afffc1d57f289f965bc50d8150c4586e1">&#9670;&#160;</a></span>OnMenuCommand()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::OnMenuCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>id</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>当WM_COMMAND接收到菜单命令时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>菜单id </td></tr>
  </table>
  </dd>
</dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#aca1d15ee60f06d11aeccadfc92ed23d2">sw::UIElement</a> , 以及 <a class="el" href="classsw_1_1_window.html#a8ff6176f2fb886593f448b430c21fc90">sw::Window</a> 重载.</p>

</div>
</div>
<a id="aaf334072263bea6dddf93a7601979023" name="aaf334072263bea6dddf93a7601979023"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf334072263bea6dddf93a7601979023">&#9670;&#160;</a></span>OnMouseLeave()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseLeave </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_MOUSELEAVE时调用该函数 </p>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#ac65b1a6485b454004801a296c788db6a">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a5a8952400bee12db2117fbf76312d373" name="a5a8952400bee12db2117fbf76312d373"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a8952400bee12db2117fbf76312d373">&#9670;&#160;</a></span>OnMouseLeftButtonDoubleClick()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseLeftButtonDoubleClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_LBUTTONDBLCLK时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="a118948e07b472d90fce7e9811ea174aa" name="a118948e07b472d90fce7e9811ea174aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a118948e07b472d90fce7e9811ea174aa">&#9670;&#160;</a></span>OnMouseLeftButtonDown()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseLeftButtonDown </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_LBUTTONDOWN时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a307e0afb1a83b8a31a54844089483f76">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="ad82a0ab5f0622abaf30456e7e309409e" name="ad82a0ab5f0622abaf30456e7e309409e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad82a0ab5f0622abaf30456e7e309409e">&#9670;&#160;</a></span>OnMouseLeftButtonUp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseLeftButtonUp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_LBUTTONUP时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#ad3360842adfd2298d4d505305250a6eb">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a4aa14c2130ef0fbb656d28c287e401f5" name="a4aa14c2130ef0fbb656d28c287e401f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4aa14c2130ef0fbb656d28c287e401f5">&#9670;&#160;</a></span>OnMouseMiddleButtonDoubleClick()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseMiddleButtonDoubleClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_MBUTTONDBLCLK时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="a348d10334d2f74a44f741bf85eddaa2c" name="a348d10334d2f74a44f741bf85eddaa2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a348d10334d2f74a44f741bf85eddaa2c">&#9670;&#160;</a></span>OnMouseMiddleButtonDown()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseMiddleButtonDown </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_MBUTTONDOWN时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#aabbfe747a3396f5cb08e952cd583c825">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a143aff6cca9e55608630d1fc320d4666" name="a143aff6cca9e55608630d1fc320d4666"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a143aff6cca9e55608630d1fc320d4666">&#9670;&#160;</a></span>OnMouseMiddleButtonUp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseMiddleButtonUp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_MBUTTONUP时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a62da7e785db521278afb58d28e30f4fa">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="ad188b201bbbc650c4ad9c388dbac18b4" name="ad188b201bbbc650c4ad9c388dbac18b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad188b201bbbc650c4ad9c388dbac18b4">&#9670;&#160;</a></span>OnMouseMove()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseMove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_MOUSEMOVE时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a2589db7fdbba4423307e64f6289a4650">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a5b90855aaaa4556e5ef5fe68e8149669" name="a5b90855aaaa4556e5ef5fe68e8149669"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b90855aaaa4556e5ef5fe68e8149669">&#9670;&#160;</a></span>OnMouseRightButtonDoubleClick()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseRightButtonDoubleClick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_RBUTTONDBLCLK时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="a4c802a79d332af6e6a6ddcf13005a587" name="a4c802a79d332af6e6a6ddcf13005a587"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c802a79d332af6e6a6ddcf13005a587">&#9670;&#160;</a></span>OnMouseRightButtonDown()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseRightButtonDown </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_RBUTTONDOWN时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a8d1a3049967256fa8306f1364ba209c9">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="aeb7286fd72b6d49b6d0b22d8cde07941" name="aeb7286fd72b6d49b6d0b22d8cde07941"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb7286fd72b6d49b6d0b22d8cde07941">&#9670;&#160;</a></span>OnMouseRightButtonUp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseRightButtonUp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_RBUTTONUP时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a42ce311746de9bace84a221efeed7e1f">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="adcf94f9017f5589b3027955e48c34b62" name="adcf94f9017f5589b3027955e48c34b62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcf94f9017f5589b3027955e48c34b62">&#9670;&#160;</a></span>OnMouseWheel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMouseWheel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>wheelDelta</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>mousePosition</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MouseKey</td>          <td class="paramname"><span class="paramname"><em>keyState</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_MOUSEWHEEL时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">wheelDelta</td><td>滚轮滚动的距离，为120的倍数 </td></tr>
    <tr><td class="paramname">mousePosition</td><td>鼠标在用户区中的位置 </td></tr>
    <tr><td class="paramname">keyState</td><td>指示某些按键是否按下 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a4d8e08dc4281b7bf67bb60c9f92fbde0">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a17769747f602f2f7c18a0a49ce97a125" name="a17769747f602f2f7c18a0a49ce97a125"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17769747f602f2f7c18a0a49ce97a125">&#9670;&#160;</a></span>OnMove()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnMove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_point.html">Point</a></td>          <td class="paramname"><span class="paramname"><em>newClientPosition</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_MOVE时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newClientPosition</td><td>移动后用户区左上角的位置 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a6482d770b94d6b40da944d64730e8237">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a1445af2018a8e840a25a7487da22c51b" name="a1445af2018a8e840a25a7487da22c51b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1445af2018a8e840a25a7487da22c51b">&#9670;&#160;</a></span>OnNcHitTest()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::OnNcHitTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>testPoint</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HitTestResult &amp;</td>          <td class="paramname"><span class="paramname"><em>result</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_NCHITTEST后调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">testPoint</td><td>要测试的点在屏幕中的位置 </td></tr>
    <tr><td class="paramname">result</td><td>测试的结果，默认为调用DefaultWndProc的结果 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4aad533e3d37a7de43645d703dda1a84" name="a4aad533e3d37a7de43645d703dda1a84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4aad533e3d37a7de43645d703dda1a84">&#9670;&#160;</a></span>OnNotified()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::OnNotified </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">NMHDR</a> *</td>          <td class="paramname"><span class="paramname"><em>pNMHDR</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>父窗口接收到WM_NOTIFY后调用发出通知控件的该函数 </p>

<p>被 <a class="el" href="classsw_1_1_date_time_picker.html#a9008deda48ff21b387d9228d3f7eb9fc">sw::DateTimePicker</a>, <a class="el" href="classsw_1_1_list_view.html#aaad9cba6a7d80f3862720d2771cb28dc">sw::ListView</a>, <a class="el" href="classsw_1_1_month_calendar.html#a0276dd32163b585b0903c92186ae3e9c">sw::MonthCalendar</a>, <a class="el" href="classsw_1_1_sys_link.html#adf7f928e49c1a89de96a66fa8bfc7348">sw::SysLink</a> , 以及 <a class="el" href="classsw_1_1_tab_control.html#ac0342af02418896ed6e98f6d11125348">sw::TabControl</a> 重载.</p>

</div>
</div>
<a id="a191f7c32914b029dca7c93e03b4841e0" name="a191f7c32914b029dca7c93e03b4841e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a191f7c32914b029dca7c93e03b4841e0">&#9670;&#160;</a></span>OnNotify()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnNotify </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">NMHDR</a> *</td>          <td class="paramname"><span class="paramname"><em>pNMHDR</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_NOTIFY后调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pNMHDR</td><td>包含有关通知消息的信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_i_p_address_control.html#a0cb3b78495f4a497cac85365cf7d138b">sw::IPAddressControl</a> , 以及 <a class="el" href="classsw_1_1_list_view.html#a3d46f549079a2f75656de1e5903671cf">sw::ListView</a> 重载.</p>

</div>
</div>
<a id="a029ba4be0e492f8383f2b5fe22125acb" name="a029ba4be0e492f8383f2b5fe22125acb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a029ba4be0e492f8383f2b5fe22125acb">&#9670;&#160;</a></span>OnPaint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnPaint </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_PAINT时调用该函数 </p>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_bmp_box.html#aa3b5703631e66331b23cc3397d51f305">sw::BmpBox</a>, <a class="el" href="classsw_1_1_panel.html#ab57a6afea25cdefeea622ff364727a8e">sw::Panel</a>, <a class="el" href="classsw_1_1_splitter.html#a363276ad838de7235b53f76d767a408d">sw::Splitter</a> , 以及 <a class="el" href="classsw_1_1_window.html#afa57e21216664a6fa3f9fdf04dad7a7d">sw::Window</a> 重载.</p>

</div>
</div>
<a id="ab37c3f3ea7654eb6a0b15405196c4549" name="ab37c3f3ea7654eb6a0b15405196c4549"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab37c3f3ea7654eb6a0b15405196c4549">&#9670;&#160;</a></span>OnSetCursor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnSetCursor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HWND</a></td>          <td class="paramname"><span class="paramname"><em>hwnd</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HitTestResult</td>          <td class="paramname"><span class="paramname"><em>hitTest</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>message</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">bool</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>result</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_SETCURSOR消息时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hwnd</td><td>鼠标所在窗口的句柄 </td></tr>
    <tr><td class="paramname">hitTest</td><td>hit-test的结果，详见WM_NCHITTEST消息的返回值 </td></tr>
    <tr><td class="paramname">message</td><td>触发该事件的鼠标消息，如WM_MOUSEMOVE </td></tr>
    <tr><td class="paramname">result</td><td>消息的返回值，默认为false </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若返回true则将result作为消息的返回值，否则使用DefaultWndProc的返回值 </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a6175e146290ecff80407d4c8afa1cf05">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a4b15e8f2bcac32da4d5e540445ae201a" name="a4b15e8f2bcac32da4d5e540445ae201a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b15e8f2bcac32da4d5e540445ae201a">&#9670;&#160;</a></span>OnSetFocus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnSetFocus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">HWND</a></td>          <td class="paramname"><span class="paramname"><em>hPrevFocus</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_SETFOCUS时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hPrevFocus</td><td>丢失焦点的hwnd，可能为NULL </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_button.html#a7ef48914988a2c38835ff09dee5c5040">sw::Button</a>, <a class="el" href="classsw_1_1_i_p_address_control.html#a10458a0733ba951af3076861009fe45f">sw::IPAddressControl</a> , 以及 <a class="el" href="classsw_1_1_u_i_element.html#a95c6eb88c9f93bb135da9ee303ada3be">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="aaba3c3ea0a8d12be237ef28e44018677" name="aaba3c3ea0a8d12be237ef28e44018677"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaba3c3ea0a8d12be237ef28e44018677">&#9670;&#160;</a></span>OnSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsw_1_1_size.html">Size</a></td>          <td class="paramname"><span class="paramname"><em>newClientSize</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_SIZE时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newClientSize</td><td>改变后的用户区尺寸 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_bmp_box.html#a6cb7446ef4d2308b971af9fe28b11bae">sw::BmpBox</a>, <a class="el" href="classsw_1_1_hwnd_host.html#a811a6d21dd8534addfc401bb79f829f7">sw::HwndHost</a>, <a class="el" href="classsw_1_1_panel.html#a655497d6bdbf760e34df1d799d89b009">sw::Panel</a>, <a class="el" href="classsw_1_1_splitter.html#a961677b3a6e12fc522bdb4e7b22690c2">sw::Splitter</a> , 以及 <a class="el" href="classsw_1_1_u_i_element.html#af4f4d3a0d23a886c0257c439821f5809">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a515de5eb7bc6dbc8314c447a99154c6c" name="a515de5eb7bc6dbc8314c447a99154c6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a515de5eb7bc6dbc8314c447a99154c6c">&#9670;&#160;</a></span>OnSysChar()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnSysChar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">wchar_t</a></td>          <td class="paramname"><span class="paramname"><em>ch</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_SYSCHAR时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>按键的字符代码 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="acf4e6c0bbc8fddc9e790864e403c5c91" name="acf4e6c0bbc8fddc9e790864e403c5c91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf4e6c0bbc8fddc9e790864e403c5c91">&#9670;&#160;</a></span>OnSysDeadChar()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnSysDeadChar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">wchar_t</a></td>          <td class="paramname"><span class="paramname"><em>ch</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_SYSDEADCHAR时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>按键的字符代码 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="ad63e584926b894913ee1ef4c039a2f98" name="ad63e584926b894913ee1ef4c039a2f98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad63e584926b894913ee1ef4c039a2f98">&#9670;&#160;</a></span>OnSysKeyDown()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnSysKeyDown </td>
          <td>(</td>
          <td class="paramtype">VirtualKey</td>          <td class="paramname"><span class="paramname"><em>key</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_SYSKEYDOWN时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>虚拟按键 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="a46dafa7371fbef198ee7a38c4aabc632" name="a46dafa7371fbef198ee7a38c4aabc632"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46dafa7371fbef198ee7a38c4aabc632">&#9670;&#160;</a></span>OnSysKeyUp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnSysKeyUp </td>
          <td>(</td>
          <td class="paramtype">VirtualKey</td>          <td class="paramname"><span class="paramname"><em>key</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structsw_1_1_key_flags.html">KeyFlags</a></td>          <td class="paramname"><span class="paramname"><em>flags</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_SYSKEYUP时调用该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>虚拟按键 </td></tr>
    <tr><td class="paramname">flags</td><td>附加信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

</div>
</div>
<a id="adb808283f6ccd5a32834ad25fa2f407b" name="adb808283f6ccd5a32834ad25fa2f407b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb808283f6ccd5a32834ad25fa2f407b">&#9670;&#160;</a></span>OnTextChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::OnTextChanged </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Text属性更改时调用此函数 </p>

<p>被 <a class="el" href="classsw_1_1_label.html#af90d6f76f8d674ae945193f3f4f630e9">sw::Label</a>, <a class="el" href="classsw_1_1_sys_link.html#a1e9809bbbdea81a36919060d271b5051">sw::SysLink</a> , 以及 <a class="el" href="classsw_1_1_u_i_element.html#a7e1fbc142c7cfe4a4a60959daf0753bc">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a72a4024b2096ecef4248b1c254b674e2" name="a72a4024b2096ecef4248b1c254b674e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72a4024b2096ecef4248b1c254b674e2">&#9670;&#160;</a></span>OnVerticalScroll()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::OnVerticalScroll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>event</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">int</a></td>          <td class="paramname"><span class="paramname"><em>pos</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到WM_VSCROLL时调用目标控件的该函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>事件类型，即消息wParam的低字 </td></tr>
    <tr><td class="paramname">pos</td><td>当前滚动条的位置，仅当event为SB_THUMBPOSITION或SB_THUMBTRACK时有效 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>若已处理该消息则返回true，否则返回false以调用DefaultWndProc </dd></dl>

<p>被 <a class="el" href="classsw_1_1_layer.html#ac06c5746cd104b7f8f9ab4d9ea9c5833">sw::Layer</a>, <a class="el" href="classsw_1_1_panel_base.html#af23d21a7b280c75e49278ce141ff428b">sw::PanelBase</a> , 以及 <a class="el" href="classsw_1_1_slider.html#a1bc544724aafc7ac79ca14fdc0e126a5">sw::Slider</a> 重载.</p>

</div>
</div>
<a id="a4d09cfbc382789150798ff6ad3d9f988" name="a4d09cfbc382789150798ff6ad3d9f988"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d09cfbc382789150798ff6ad3d9f988">&#9670;&#160;</a></span>ParentChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::ParentChanged </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *</td>          <td class="paramname"><span class="paramname"><em>newParent</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>父窗口改变时调用此函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newParent</td><td>新的父窗口 </td></tr>
  </table>
  </dd>
</dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a87b86762809c8e4a0ace610a977caa78">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a6f1b33e5930fc14467f65ad89c2c35c3" name="a6f1b33e5930fc14467f65ad89c2c35c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f1b33e5930fc14467f65ad89c2c35c3">&#9670;&#160;</a></span>PointFromScreen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structsw_1_1_point.html">Point</a> sw::WndBase::PointFromScreen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>screenPoint</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取屏幕上点在当前用户区点的位置 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">screenPoint</td><td>屏幕上点的坐标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>该点在用户区的坐标 </dd></dl>

</div>
</div>
<a id="a292d93c230f5534cdf68ac5d685dd487" name="a292d93c230f5534cdf68ac5d685dd487"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a292d93c230f5534cdf68ac5d685dd487">&#9670;&#160;</a></span>PointToScreen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structsw_1_1_point.html">Point</a> sw::WndBase::PointToScreen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_point.html">Point</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>point</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取用户区点在屏幕上点的位置 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">point</td><td>用户区坐标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>该点在屏幕上的坐标 </dd></dl>

</div>
</div>
<a id="a1c0d183115a35f097b0598af43c9ca9a" name="a1c0d183115a35f097b0598af43c9ca9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c0d183115a35f097b0598af43c9ca9a">&#9670;&#160;</a></span>Redraw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::Redraw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">bool</a></td>          <td class="paramname"><span class="paramname"><em>erase</em><span class="paramdefsep"> = </span><span class="paramdefval"><a class="el" href="classsw_1_1_dictionary.html">false</a></span></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>重画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">erase</td><td>是否擦除旧的背景 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a05caaf7da3138fe9063f7a3e1088f9ac" name="a05caaf7da3138fe9063f7a3e1088f9ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05caaf7da3138fe9063f7a3e1088f9ac">&#9670;&#160;</a></span>SetExtendedStyle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::SetExtendedStyle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">DWORD</a></td>          <td class="paramname"><span class="paramname"><em>mask</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">bool</a></td>          <td class="paramname"><span class="paramname"><em>value</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>打开或关闭指定的扩展样式 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>扩展样式的位掩码，可以是多个扩展样式 </td></tr>
    <tr><td class="paramname">value</td><td>是否启用指定的扩展样式 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5fd142cef45421381b2e8b89cac67d86" name="a5fd142cef45421381b2e8b89cac67d86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fd142cef45421381b2e8b89cac67d86">&#9670;&#160;</a></span>SetParent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">bool</a> sw::WndBase::SetParent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_wnd_base.html">WndBase</a> *</td>          <td class="paramname"><span class="paramname"><em>parent</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置父窗口 </p>
<dl class="section return"><dt>返回</dt><dd>设置是否成功 </dd></dl>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#ad685138138402ddd8a5fde67bbb85a45">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a34a1c2216b75bd9cd45d4a2e042b55c5" name="a34a1c2216b75bd9cd45d4a2e042b55c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34a1c2216b75bd9cd45d4a2e042b55c5">&#9670;&#160;</a></span>SetStyle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::SetStyle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">DWORD</a></td>          <td class="paramname"><span class="paramname"><em>mask</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">bool</a></td>          <td class="paramname"><span class="paramname"><em>value</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>打开或关闭指定的样式 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>样式的位掩码，可以是多个样式 </td></tr>
    <tr><td class="paramname">value</td><td>是否启用指定的样式 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aba0ab3734c3d4c07f3b9bbb029b98edb" name="aba0ab3734c3d4c07f3b9bbb029b98edb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba0ab3734c3d4c07f3b9bbb029b98edb">&#9670;&#160;</a></span>SetText()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::SetText </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">const</a> std::wstring &amp;</td>          <td class="paramname"><span class="paramname"><em>value</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>调用SetWindowTextW设置窗口文本 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>要设置的文本 </td></tr>
  </table>
  </dd>
</dl>

<p>被 <a class="el" href="classsw_1_1_combo_box.html#a3b4e253960fe5f62aed8544066899654">sw::ComboBox</a> 重载.</p>

</div>
</div>
<a id="aef02bbac8ef450e5f3f478b41031a3ab" name="aef02bbac8ef450e5f3f478b41031a3ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef02bbac8ef450e5f3f478b41031a3ab">&#9670;&#160;</a></span>VisibleChanged()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">void</a> sw::WndBase::VisibleChanged </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">bool</a></td>          <td class="paramname"><span class="paramname"><em>newVisible</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Visible属性改变时调用此函数 </p>

<p>被 <a class="el" href="classsw_1_1_u_i_element.html#a98812949329f77e400f7e0e381c56c3d">sw::UIElement</a> 重载.</p>

</div>
</div>
<a id="a863b26226e16cf37f7169c6edc96a3b4" name="a863b26226e16cf37f7169c6edc96a3b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a863b26226e16cf37f7169c6edc96a3b4">&#9670;&#160;</a></span>WndProc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsw_1_1_dictionary.html">virtual</a> <a class="el" href="classsw_1_1_dictionary.html">LRESULT</a> sw::WndBase::WndProc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="structsw_1_1_proc_msg.html">ProcMsg</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>refMsg</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>对WndProc的封装 </p>

<p>被 <a class="el" href="classsw_1_1_window.html#a5c4a30ad5dd71cba0de201846867de25">sw::Window</a> 重载.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li><a class="el" href="_wnd_base_8h_source.html">WndBase.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>sw</b></li><li class="navelem"><a class="el" href="classsw_1_1_wnd_base.html">WndBase</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
